const state = {
  name: '',
  studentId: '',
  majorClass: '',
  jwcPwd: ''
}

const mutations = {
  setName(state, name) {
    state.name = name
  },
  setStudentId(state, studentId) {
    state.studentId = studentId
  },
  setMajorClass(state, majorClass) {
    state.majorClass = majorClass
  },
  setJwcPwd(state, jwcPwd) {
    state.jwcPwd = jwcPwd
  }
}

export default {
  state,
  mutations
}